package com.oncecloud.devops.client.entity;

public class Authority {

	private Integer authorityId;
	private String authorityName;
	private String authorityDesc;
	private String authorityRelativeUrl;
	private Byte authorityType;
	private String authorityRemarks;
	private Integer authorityParentId;
	
	public Authority() {

	}

	public Authority(Integer authorityId, String authorityName, String authorityDesc,
			String authorityRelativeUrl, Byte authorityType, String authorityRemarks,
			Integer authorityParentId) {
		super();
		this.authorityId = authorityId;
		this.authorityName = authorityName;
		this.authorityDesc = authorityDesc;
		this.authorityRelativeUrl = authorityRelativeUrl;
		this.authorityType = authorityType;
		this.authorityRemarks = authorityRemarks;
		this.authorityParentId = authorityParentId;
	}

	public Integer getAuthorityId() {
		return authorityId;
	}

	public void setAuthorityId(Integer authorityId) {
		this.authorityId = authorityId;
	}

	public String getAuthorityName() {
		return authorityName;
	}

	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName == null ? null : authorityName.trim();
	}

	public String getAuthorityDesc() {
		return authorityDesc;
	}

	public void setAuthorityDesc(String authorityDesc) {
		this.authorityDesc = authorityDesc == null ? null : authorityDesc.trim();
	}

	public String getAuthorityRelativeUrl() {
		return authorityRelativeUrl;
	}

	public void setAuthorityRelativeUrl(String authorityRelativeUrl) {
		this.authorityRelativeUrl = authorityRelativeUrl == null ? null
				: authorityRelativeUrl.trim();
	}

	public Byte getAuthorityType() {
		return authorityType;
	}

	public void setAuthorityType(Byte authorityType) {
		this.authorityType = authorityType;
	}

	public String getAuthorityRemarks() {
		return authorityRemarks;
	}

	public void setAuthorityRemarks(String authorityRemarks) {
		this.authorityRemarks = authorityRemarks == null ? null : authorityRemarks
				.trim();
	}

	public Integer getAuthorityParentId() {
		return authorityParentId;
	}

	public void setAuthorityParentId(Integer authorityParentId) {
		this.authorityParentId = authorityParentId;
	}

}